ShortPixel\Controller\FileSystemController B

Total Complexity 90
Dependencies 6
Dependents 2
Total lines 513
Lines of code 299
Logical lines of code 184
Comment lines 110
Methods 22
Properties 3

Methods 22

Method Rating Maintainability Complexity Lines of code
pathToUrl()
B
40 21 54
getBackupDirectory()
A
48 10 32
pathIsUrl()
S
61 9 10
returnOldSubDir()
S
52 6 23
getMediaImage()
S
57 6 16
downloadFile()
S
50 4 30
sortFiles()
S
58 4 16
getCustomImage()
S
62 4 12
url_exists()
S
57 3 18
getFilesRecursive()
S
61 3 13
getWPFileBase()
S
61 3 12
getWPAbsPath()
S
62 3 11
getImage()
S
63 3 10
checkURL()
S
64 3 10
__construct()
S
80 1 3
checkBackUpFolder()
S
73 1 5
getFile()
S
80 1 3
getDirectory()
S
80 1 3
getOriginalImage()
S
72 1 5
getCustomStub()
S
73 1 5
flushImageCache()
S
77 1 4
getWPUploadBase()
S
74 1 4